import Vue from 'vue';
import Router from 'vue-router';
import Home from '@/components/Home';
import ElTable from '@/components/tableEl';
import Table from '@/components/table';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
    },
    {
      path: '/elTable',
      name: 'elTable',
      component: ElTable,
    },
    {
      path: '/table',
      name: 'Table',
      component: Table,
    },
  ],
});
